<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="content-language" content="zh-CN" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="Keywords" content="海南网络电视台,歌曲大赛,歌唱祖国,全面K歌,投票" />
    <meta name="Description"
        content="庆70周年,增强海南人民自豪感和向心力，展现良好的精神面貌，建设美丽海南,歌唱祖国,海南红歌歌唱大赛" />
    <meta name="author" content="海南网络电视台" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">

    <title>海南网络电视台-歌曲大赛-投票页</title>
    <link href="http://www.hnntv.cn/favicon51.ico" rel="shortcut icon">
    <!-- css样式 -->
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/vote.css">
    <link rel="stylesheet" href="css/vote_m.css">
    <link rel="stylesheet" href="css/font.css">
    <!-- js脚本 -->

    <script src="js/jquery.min.js"></script>
    <script src="js/jsrender.min.js"></script>

    <!-- 辅助 -->
    <link rel="stylesheet" href="responsive/flexible.css">
    <script src="responsive/flexible.js"></script>
    <script>
        // GLOCAL SETTINGS
        var TOPDRAW_EPG_BASE_SERVER = "http://202.100.242.90/";;
        var TOPDRAW_EPG_VOTE_BASE_SERVER = "http://10.255.48.137/";
        var TOPDRAW_EPG_SERVER = TOPDRAW_EPG_BASE_SERVER+"melody/SongContest/";
        var TOPDRAW_API_SERVER = TOPDRAW_EPG_BASE_SERVER+"hyperion.chimera/";
        var TOPDRAW_VOTE_API_SERVER = TOPDRAW_EPG_VOTE_BASE_SERVER+"hyperion.chimera/";
        var IMAGE_BASE_PATH = TOPDRAW_EPG_BASE_SERVER+"hyperion.resource/";
    </script>
    <script type="text/x-jsrender" id="temp">
        <h3 class="text-center">{{:student_name}}{{:exam_time}}{{:exam_name}}</h3>
            <hr />
            {{include tmpl="#infotable" /}}
            <!--<h3>六年级1201班 综合考试成绩 </h3>-->
            <ul class="each-score">
                {{for score_list tmpl="#temp1" /}}
            </ul>
            <div class="well">
                <h3>老师评语：</h3>
                <p>{{:remark}}</p>				
            </div>
            <div class="analysis">
                <h3>成绩分析</h3>
                <hr />
                <div class="onesubjec">
                    {{for statis_list tmpl="#temp2" ~examName=exam_name /}}
                </div>
            </div>
    </script>
    <script type="text/x-jsrender" id="infotable">
        <table class="table table-bordered">
            <tr>
                <td>{{:someinclude.whatclass}}</td>
                <td>{{html:someinclude.whatno}}</td>
                <td>{{>someinclude.whatsex}}</td>
            </tr>
        </table>
    </script>
    <script type="text/x-jsrender" id="temp1">
        <li>
            <div><img src="{{:icon}}" style="width: 90%;"/><br />{{:course_name}}</div>
            <p>{{:score}}/{{:full_marks}}</p>
        </li>
    
    </script>
    <script type="text/x-jsrender" id="temp2">
        <h3>{{:course_name}}/{{:score}}分|{{:~examName}}</h3>
        <ul class="score-chart">
            <li class="fail" style="width: {{:fail_percent}}%;">
            </li>
            <li class="pass" style="width: {{:pass_percent}}%;">
            </li>
            <li class="good" style="width: {{:good_percent}}%;">
            </li>
            <li class="excellent" style="width: {{:excellent_percent}}%;">
            </li>
        </ul>
        <div class="score-percent">
            <span class="percent-tag"><span class="fail"></span>{{:fail_percent}}%不及格(60分以下)</span>
            <span class="percent-tag"><span class="pass"></span>{{:pass_percent}}%及格(60分-80分)</span><br />
            <span class="percent-tag"><span class="good"></span>{{:good_percent}}%良好(80分-90分)</span>
            <span class="percent-tag"><span class="excellent"></span>{{:excellent_percent}}%优秀(90分-100分)</span>
        </div>
        <table class="table table-bordered">
            <tr>
                <td>击败本班同学</td>
                <td>班级平均分</td>
                <td>班级最高分</td>
                <td>班级最低分</td>
            </tr>
            <tr>
                <td>{{:beat_percent}}%</td>
                <td>{{:avg_score}}</td>
                <td>{{:max_score}}</td>
                <td>{{:min_score}}</td>
            </tr>
            <tr>
                <td>不及格人数</td>
                <td>及格人数</td>
                <td>良好人数</td>
                <td>优秀人数</td>
            </tr>
            <tr>
                {{!-- 利用原生的if做分支跳转，利用helper做逻辑处理 --}}
                <td>
                    {{if ~notzero(fail_number)}}
                            {{:fail_number}}
                            {{else}}
                                   无	
                            {{/if}}
                </td>
                <td>{{:pass_number}}</td>
                <td>{{:good_number}}</td>
                <td>{{:excellent_number}}</td>
            </tr>
        </table>
    
    </script>
    
    <script>
        $(document).ready(function(){
            //获取参赛选手
            var oNavigatorRequestParameters={
                "view":"json",
                "start":"0",
                "limit":"100",
                "name":"VotingChannel",
                "sortField":"top",
                "sortDirection":"asc",
                "token":g_strToken
            }



            // $(".score-list").click(function () {
            //     $thisone=$(this);
            //     $.ajax({
            //         type:"get",
            //         url:"data/data.json",
            //         success:function(data){
            //             var obj;
            //             obj=data.detail;
            //             for(var i=0; i<obj.score_list.length; i++){
            //                 obj.statis_list[i].score=obj.score_list[i].score;
            //             }
            //             //平级数据没法传递数据，copy数据过来
            //             var html = $("#temp").render(obj);
            //             $thisone.find(".score-content").html(html);
            //         }
            //     });
            //     $.views.helpers({
            //         "notzero": function(price){
            //             if(price>0){
            //                 return true;
            //             }else{
            //                 return false;
            //             }
            //         }
            //     });
            //     $(this).find(".score-content").show();
            // });
        });
    </script>
</head>

<body>
<!-- 
        <div class="score-list">
                <div class="score-tit">
                        <span class="label label-primary">综合</span> 
                        六年级1201班-综合考试成绩
                        <span class="score-list-data">日期：2018-04-25</span>
                    </div>
                <div class="score-content" style="display: none;"></div>
        </div> -->
        <header></header>
        <section>
            <div class="container">
                <div class="search_box_wrapper">
                    <div class="search_box">
                        <input type="text">
                        <a href="javascript:void(0)"></a>
                    </div>
                </div>
                
                <div class="contestant_group_list">
                    <div class="group_title"><img src="img/groupa.png" alt="A组"></div>
                    <div class="contestant_group">
                        <ul>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                        </ul>
                    </div>
                    <div class="pager">
                        <a href="javascript:void(0)" class="page_up"><img src="img/left_arrow.png"/></a>
                        2/22
                        <a href="javascript:void(0)" class="page_down"><img src="img/right_arrow.png"/></a>
                    </div>
                </div>
                <div class="contestant_group_list">
                    <div class="group_title"><img src="img/groupb.png" alt="B组"></div>
                    <div class="contestant_group">
                        <ul>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                        </ul>
                    </div>
                    <div class="pager">
                        <a href="javascript:void(0)" class="page_up"><img src="img/left_arrow.png"/></a>
                        2/22
                        <a href="javascript:void(0)" class="page_down"><img src="img/right_arrow.png"/></a>
                    </div>
                </div>
    
                <div class="contestant_group_list">
                    <div class="group_title"><img src="img/groupc.png" alt="C组"></div>
                    <div class="contestant_group">
                        <ul>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                        </ul>
                    </div>
                    <div class="pager">
                        <a href="javascript:void(0)" class="page_up"><img src="img/left_arrow.png"/></a>
                        2/22
                        <a href="javascript:void(0)" class="page_down"><img src="img/right_arrow.png"/></a>
                    </div>
                </div>
    
                <div class="contestant_group_list">
                    <div class="group_title"><img src="img/groupd.png" alt="D组"></div>
                    <div class="contestant_group">
                        <ul>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                            <li>
                                <div class="profile">
                                    <div class="song_no">编号:999999</div>
                                    <img src="img/profile.jpg" alt="金源奕">
                                </div>
                                <div class="song_name song_info">名称:【GNZ48】20180127TeamG《双面偶像》咪咕定制公演</div>
                                <div class="singer_name song_info">作者:金源奕</div>
                                <div class="singer_ranking song_info">排名:12</div>
                                <div class="song_score song_info">分数:999999</div>
                               <a class="vote_btn" href="javascript:void(0)"></a>
                            </li>
                        </ul>
                    </div>
                    <div class="pager">
                        <a href="javascript:void(0)" class="page_up"><img src="img/left_arrow.png"/></a>
                        2/22
                        <a href="javascript:void(0)" class="page_down"><img src="img/right_arrow.png"/></a>
                    </div>
                </div>
            </div>
        </section>
        <aside>
            <div class="vote_message_wrapper">
                <div class="vote_message_box">
                    <img src="img/vote_failure_message.png" alt="哎呀，没有票了，明天再来吧">
                    <a class="message_ok" href="javascript:void(0)">
                    </a>
                </div>
            </div>
        </aside>
        <footer></footer>
</body>

</html>